body {
    background: white;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
  }

  .Project-title{
    display: flex;
    flex-direction: row;
    margin-bottom: 0px;

  }

  .Project-small-title{
    display: flex;
    flex-direction: row;
    margin-left: 40px;
    font-size: 21px;
    color:var(--accent);

  }

  /*===== Vertical Timeline =====*/
  .conference-timeline {
    position: relative;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
  }

  /*Start end part*/
  .conference-timeline .timeline-start,
  .conference-timeline .timeline-end {
    display: table; /*start, end 네모칸*/
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    background: rgb(49, 49, 49); /*table background*/
    padding: 15px 23px;
    color: #fff;
    max-width: 5%; /*table size를 의미함*/
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  /*Stem-line (mid)*/
  .conference-timeline .conference-center-line {
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    margin-left: -2px;
    background: rgb(49, 49, 49);
    z-index: -1;
  }

  /*Conference total - contents box*/
  .conference-timeline .conference-timeline-content {
    padding-top: 73px;
    padding-bottom: 73px;
  }


  /*article each parts*/
  .timeline-article {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
  }

  /*box for articles (both sides) including author*/
  .timeline-article .content-left-container,
  .timeline-article .content-right-container {
    max-width: 44%;
    width: 100%;
  }


  /*Author*/
  .timeline-article .timeline-author {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #242424;
    text-align: right;
  }

  /*Article*/
  .timeline-article .content-left,
  .timeline-article .content-right {
    position: static;
    background-color: white;
    /*box-shadow: 0 1px 3px rgba(0,0,0,.03);*/
    padding: 27px 25px;
  }

  /*article 내부에 있는 p부분 설정*/
  .timeline-article p {
    margin: 0 0 0 60px;
    padding: 0;
    font-weight: 400;
    color: #242424;
    font-size: 20px;
    line-height: 24px;
    position: relative;
  }

  /*article 내부에 있는 span number 설정
  .timeline-article p span.article-number {
    position: absolute;
    font-weight: 300;
    font-size: 44px;
    top: 10px;
    left: -60px;
    color: black;
  }*/

    /*time line에서 container 위치 설정*/
  .timeline-article .content-left-container {
    float: left;
  }

    /*time line에서 container 위치 설정*/
  .timeline-article .content-right-container {
    float: right;
  }


  /*옆에 붙어 있는 조그만한 네모박스*/
  /*  
  .timeline-article .content-left:before,
  .timeline-article .content-right:before{
    position: absolute;
    top: 20px;
    font-size: 10px;
    font-family: "FontAwesome";
    color: rgb(49, 49, 49);
  }

   /*네모박스의 위치를 나타낸다*/
   /*
  .timeline-article .content-left:before {
    content: "\f0da";
    right: -8px;
  }
  .timeline-article .content-right:before {
    content: "\f0d9";
    left: -8px;
  }
  */
  /*중앙에 APR 18 이런식의 칸을 의미함*/
  .timeline-article .meta-date {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 62px;
    height: 62px;
    margin-left: -31px;
    color: white;
    border-radius: 20%;
    background: rgb(49, 49, 49);
  }
  .timeline-article .meta-date .date {
    display: block;
    text-align: center;
    font-weight: 900;
    font-size: 20px;
    margin-top:25%

  }

  
/* samle - menu part */
.sample_menu{
  font-family: "Montserrat", sans-serif;
  line-height: 15px;
  /*padding-left: 22px;*/
  font-size: 17px;
  margin-left: 80px;
}

.sample_menu::before{
  content: "";
  position: relative;
  display: block;
  top: 13px;
  width:11px;
  height:11px;
  right:20px;
  background-color: black;

}

.sample_menu:hover:before{
  transform: rotate(270deg);
  color: var(--accent-2);
  filter: drop-shadow(3px 3px 5px rgb(0, 59, 98));
  transition: 0.5s;
  transition-timing-function: ease-in-out;
}

.sample_menu:hover{
  color: var(--accent-2);
  filter: drop-shadow(3px 3px 5px rgb(0, 59, 98));
  transition: 0.3s;

}


/* menu part*/
.project_menu{
    font-family: "Montserrat", sans-serif;
    line-height: 40px;
    /*padding-left: 22px;*/
    font-size: 19px;
}

.project_menu::before{
    content: "";
    position: relative;
    display: block;
    top: 26px;
    width:11px;
    height:11px;
    right:20px;
    background-color: black;

}

.project_menu:hover:before{
    transform: rotate(270deg);
    color: var(--accent-2);
    filter: drop-shadow(3px 3px 5px rgb(0, 59, 98));
    transition: 0.5s;
    transition-timing-function: ease-in-out;
}

.project_menu:hover{
    color: var(--accent-2);
    filter: drop-shadow(3px 3px 5px rgb(0, 59, 98));
    transition: 0.3s;
    text-align: center;

  }



  /*===== // Vertical Timeline =====*/
    /*===== Resonsive Vertical Timeline =====*/
    
  @media screen and (max-width: 1030px){
    .timeline-article p {
      margin: 0 0 0 20px;
    }

    .project_menu{
      font-size:15px;
      font-weight: 2000px;
    }

  }

  /*===== Resonsive Vertical Timeline =====*/
  
  @media only screen and (max-width: 830px) {
    .conference-timeline .timeline-start,
    .conference-timeline .timeline-end {
      margin: 0;
    }
    .conference-timeline .conference-center-line {
      margin-left: 0;
      left: 50px;
    }
    .timeline-article .meta-date {
      margin-left: 0;
      left: 20px;
    }
    .timeline-article .content-left-container,
    .timeline-article .content-right-container {
      max-width: 100%;
      width: auto;
      float: none;
      margin-left: 110px;
      min-height: 53px;
    }
    .timeline-article .content-left-container {
      margin-bottom: 20px;
    }
    .timeline-article .content-left,
    .timeline-article .content-right {
      padding: 10px 25px;
      min-height: 65px;
    }

   
    .timeline-article .content-left:before {
      display:none;
      content: "\f0d9";
      right: auto;
      left: -8px;
    }
    .timeline-article .content-right:before {
      display: none;
    }



  }
  @media only screen and (max-width: 400px) {
    .timeline-article p {
      margin: 0;
    }
    .timeline-article p span.article-number {
      display: none;
    }
    
  }
  /*===== // Resonsive Vertical Timeline =====*/


  /*===================================================================
    Project — Filter pills + Card grid  (current layout)
  ===================================================================*/
  .frame {
    max-width: var(--maxw, 1180px);
    margin: 0 auto;
    padding: 56px 24px 96px;
    box-sizing: border-box;
  }

  .proj-head { margin-bottom: 32px; }
  .proj-h1 {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0 0 10px;
  }
  .proj-sub {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 640px;
    margin: 0;
  }

  /* Filter pills */
  .proj-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 8px;
  }
  .proj-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  .proj-pill:hover { border-color: #c7d0e0; background: #fff; box-shadow: var(--shadow); }
  .proj-pill.is-active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  .proj-pill__n {
    font-size: 11.5px;
    font-weight: 700;
    opacity: .65;
  }
  .proj-pill.is-active .proj-pill__n { opacity: .85; }

  /* Phase dot */
  .proj-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
  }
  .proj-dot--sk        { background: #EA002C; }
  .proj-dot--ktds      { background: #0048A7; }
  .proj-dot--grad      { background: #0e8b87; }
  .proj-dot--undergrad { background: #94a3b8; }
  .proj-pill.is-active .proj-dot { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }

  /* Section grouping */
  .proj-section { margin-top: 52px; }
  .proj-section[hidden] { display: none; }
  .proj-secthead {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .proj-secthead .proj-dot { width: 10px; height: 10px; }
  .proj-secthead__title {
    font-family: var(--font-sans);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
    margin: 0;
  }
  .proj-secthead__meta {
    font-family: var(--font-sans);
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
  }
  .proj-toggle {
    margin-left: auto;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-2);
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease;
  }
  .proj-toggle:hover { background: var(--surface); border-color: #c7d0e0; }

  /* Card grid */
  .proj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 22px;
  }
  /* Collapsed undergraduate: show first row only until expanded */
  .proj-grid--collapsed .proj-card:nth-child(n+5) { display: none; }
  .proj-grid--collapsed.is-open .proj-card:nth-child(n+5) { display: flex; }
  .proj-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius, 12px);
    padding: 24px 22px 22px;
    text-decoration: none;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  /* left accent bar (phase color) */
  .proj-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--line);
    transition: background .18s ease;
  }
  .proj-section[data-group="sk"]   .proj-card::before { background: #EA002C; }
  .proj-section[data-group="ktds"] .proj-card::before { background: #0048A7; }
  .proj-section[data-group="grad"] .proj-card::before { background: #0e8b87; }
  .proj-section[data-group="undergrad"] .proj-card::before { background: #cbd5e1; }
  .proj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #d6deec;
  }
  .proj-card__year {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--accent-2);
  }
  .proj-card__title {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    margin: 0;
  }
  .proj-card__sub2 { font-weight: 500; color: var(--muted); font-size: 14px; }
  .proj-card__field {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .proj-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--body);
  }
  .proj-card[hidden] { display: none; }

  .proj-empty {
    font-family: var(--font-sans);
    color: var(--muted);
    text-align: center;
    padding: 40px 0;
  }

  /* section header: stack title row + meta on its own line whenever it gets tight
     (태블릿/모바일 — 메타가 제목 옆에서 줄바꿈되며 깨지던 문제) */
  @media (max-width: 900px) {
    .proj-secthead { flex-wrap: wrap; row-gap: 6px; align-items: center; }
    .proj-secthead .proj-dot { flex: 0 0 auto; }
    .proj-secthead__title { font-size: 18px; }
    .proj-toggle { order: 2; margin-left: auto; }
    .proj-secthead__meta {
      order: 3;
      flex-basis: 100%;
      width: 100%;
      padding-left: 20px;       /* dot(10) + gap(10) 아래 정렬 */
      font-size: 12.5px;
      line-height: 1.5;
      white-space: normal;
    }
  }

  @media (max-width: 520px) {
    .frame { padding: 36px 16px 72px; }
    .proj-h1 { font-size: 30px; }
    .proj-grid { grid-template-columns: 1fr; }
  }